package com.hgy.carsb.entity;

import lombok.Data;

@Data
public class BenefitDetail {
    private String thisMonth;
    private String lastMonth;
    private String subMonth;
    private String monthDescription;
    private String thisYear;
    private String lastYear;
    private String subYear;
    private String yearDescription;

    public BenefitDetail(){}
    public BenefitDetail(IndicatorDetail indicatorDetail){
        thisMonth = indicatorDetail.getThisMonth();
        lastMonth = indicatorDetail.getLastMonth();
        subMonth = indicatorDetail.getSubMonth();
        thisYear = indicatorDetail.getThisYear();
        lastYear = indicatorDetail.getLastYear();
        subYear = indicatorDetail.getSubYear();
    }
}
